package demo;

import java.util.List;

public class TestMain {
  public static void main(String[] args){
	  Graph graph=new Graph();
	  int[][] gArr=graph.getGraphArr();
	  Floyd floyd=new Floyd(5);//five nodes
	  int length=floyd.findMinPathLength(gArr,0,4);
	  System.out.println(length);
	  List<Integer> l=floyd.getPathList();
      System.out.println(l);
  }
}
